package Java0304;

import java.util.Scanner;

public class ScoreDemo {
    public static void main(String[] args) {
        System.out.println("请输入张浩的三科成绩：");
        Scanner scan = new Scanner(System.in);
        double chineseScore = scan.nextDouble();
        double mathScore = scan.nextDouble();
        double englishScore = scan.nextDouble();
        if((chineseScore==100||mathScore==100||englishScore==100)&&(chineseScore>=60&&mathScore>=60&&englishScore>=60)){
            System.out.println("奖励张浩同学一台iPhone X!");
        }else {
            System.out.println("没有奖励！");
        }
    }
}
